<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head th:include="common/template :: res(title='center')">

</head>
<body>
	<script type="text/javascript">
		$(function() {
			$('#formSubimt').click(function() {

				doRequest({
					type : 'POST',
					url : 'login',
					headers:{
						"SHIRO-LOGIN":"1"
					},
					data : {
						
						username : $('#userName').val(),
						password : $('#password').val()
						
					}
				}, function(data) {
					console.log(data);
					$('#merchantID').val(data.merchantID);
					$('#sign').val(data.sign);
					$('#request').val(data.requestBody);
					$('#submitForm').submit();
				});
			});

		});
	</script>


	<ol class="breadcrumb"> 
		<li class="active">用户center</li>
	</ol>
	<span th:value="${error}"></span>

		<div class="form-horizontal" style="padding-left: 20px;">

		center
		</div>
	

</body>
</html>